/*
 * @Author: heinan
 * @Date: 2023-07-30 23:03:27
 * @Last Modified by: heinan
 * @Last Modified time: 2023-08-01 21:32:00
 */
"use strict";

module.exports = {
  createGroup: {
    img: {
      type: "string",
      require: true,
      description: "团购封面图片",
    },
    house_name: {
      type: "string",
      require: true,
      description: "楼盘名称",
    },
    group_title: {
      type: "string",
      require: true,
      description: "团购名称",
    },
    province: {
      type: "string",
      require: true,
      description: "省份",
    },
    city: {
      type: "string",
      require: true,
      description: "城市",
    },
    county: {
      type: "string",
      require: true,
      description: "区县",
    },
    address: {
      type: "string",
      require: true,
      description: "详细地址",
    },
    start_time: {
      type: "string",
      require: true,
      description: "团购开始时间",
    },
    end_time: {
      type: "string",
      require: true,
      description: "团购结束时间",
    },
    group_info: {
      type: "string",
      require: true,
      description: "团购信息",
    },
    initiator: {
      type: "string",
      require: true,
      description: "发起人",
    },
    max_people_count: {
      type: "Number",
      require: true,
      description: "团购参与最大人数",
    }
  },
  updateGroupStatus: {
    status: {
      type: "Number",
      require: true,
      description: "团购数据开启关闭状态",
    },
  },
};
